package com.evildog.workspace.dependencies.mybatis.object;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotNull;

@Data
@Accessors(chain = true)
@ApiModel(value="status 更新参数")
public class BaseStatusDTO {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "状态 0 禁用 1 正常")
    @NotNull(message = "状态不能为空")
    private Integer status;

}
